SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f8e25cf9c8fab17c041daa100255941161f47ad3771e3092d809e39bd53370c' 
  AND token = 'PbPXC5Z9PLwJpforu1IkgDqS3uRjfp9fqf+YurhdmZo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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