SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0204130178adb49816c2d2ab48fe31347596b7bec210895713f08f1f5a3332db' 
  AND token = 'AYZ3/qQeOCt1bIa4HtG/GZTFtxh1sPC7j27TC41q28A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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