SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb71acae4d9c21aa93b6862225ab8ff89cac5d0f198c51ffa236b671874f812e' 
  AND token = '2iY5NmEpiPSiIkC7FgFIR5p0Hq6zXf8jh9FFBuOe7xE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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