SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf255ee9c4dbeaf9a340f60f78bb090405bc758475df09c56cf030faaf97fd39' 
  AND token = '1w1l6xWF/3bCxnpK7k1HqoH5ochko4pFwsd4jU7+qQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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