SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c8ae0104db68e7af80668c3ee9471532ee4d397745022f43a815f90e0bf288c' 
  AND token = 'qvK/I1ltQEbwyOtmCy2envwld3FlMUM0ByxNKATqv5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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