SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '964fbe5912c791fabce3604d0bba92ce2a2f1d34f890464fc827ecd1707c1baf' 
  AND token = 'oPIdt12ei8jT4Yg74tjPeBMvk/u9hpbsfvclNhgxle4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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