SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '522a9a64a9fb0df4426299af38d8794bb4c47e2d5c5a40c66e596b6f8817bb20' 
  AND token = 'wslHy9NMogl4Xud8XjztrxgWoL/vZp0BUdZEM8KISt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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