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

Query time 0.00025

JSON explain

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