SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1c80f5140dff1f935da4cf5375b377340b1a396441f7bcba86845526afbe217' 
  AND token = 'XCehDz7ZMDTt+to8PapIGBYlo0Tv49ohR7PxRYqLWx0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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