SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aac779903c00dbf66c790043b292ec97964d664ebdb3afd8a0e2867c36144e79' 
  AND token = '49mhpVOuBnu8io1yfNNOWTxPmeS/UNC4kO9H/H2WVLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}