SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f410812d505791c0158ef952873c3695c2ffc777104bdd057339d9bf23fc7fd' 
  AND token = 'p3FDFoaExGkC4kVF65k67pEd0gFzFQq12rEI6697Ho8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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