SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4fef25469061b4d49fef85354b49565abc1a0c7ff682848b26877f18268bcd2' 
  AND token = 'L7msNyPoAqpFXtVOpwHK55f+SMA9SjQNjv6tXX2Xa6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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