SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '338825320eac266e00b3750f9d007bfa944d0537f3211a39f405fec3d989db7a' 
  AND token = 'rC7RfGmqX+p26jSrbyaAbSyVXueoF8ohC+76Tz18ZI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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