SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2f9d02c31ba613a22704057d4017332c1f8f5dd9c42dbe911264b658c62fcbf' 
  AND token = 'Kc7UFiKdb74jwU3a7KcYb26aIPkPFBdgqJsK13rnxhQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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