SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ac8ef6298abe765e296a2b93a7dc91055880029fe7e77255455dc09936623c6' 
  AND token = 'j4ljPH7OpP+j2dk/ABX8TAegNiQOnP1JACfp+Be+fWA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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