SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e9c45f60ec16f03de795d4037a30d1d2297c789ab519f4576c2486ce057979f3' 
  AND token = 'epztEdeb6E3AEMt4V1UWuvLoAMcG71EL71a9EVSkWGk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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