SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e04b5804894e03eef3487852ee8802cd8eef053e0567b83eabd0fcfe0ce3217' 
  AND token = 'oguWt77C/GEM55y6z+H0OqNsvNxKjUKTeqo3llJfC/c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}