SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db5f6bc6bd88563814bfeee62047f90e8ed9da5c054e6c078e8dfdf3f25ca450' 
  AND token = 'gEGz7kmJ/+Pf+5jE5COGU63Tu9Cn01B+bjWOdabo5DA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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