SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f9f72214b7d5cf37a0f0f75453ed214a5d8a1e7639be5adc090780f99a56ed9' 
  AND token = 'oLcMMdjr6detkOLvd2o6j16Jg3AivhTU+HP8FIhbkIc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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