SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9165f07d5a7be0a643b996d73b33738b5fc7f4df7d1e7515bf55fa7bfe854ca1' 
  AND token = 'airilHvuJ4uR6Aod6VNc1BOWJk1RCbCQ40eiUkoZ6Ec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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