SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '397e4410234b25a574e26315a06977c5069813363705deb152e2c5a072428efa' 
  AND token = 'qJ/mtqd5lQsy0mwmgq/ct5t5hRwxFiBj2pTkJlwi+KQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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