SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed54d1458652eb46cb69f2efbf49304119038f21d38743c974f88811b1fd2b7c' 
  AND token = '4GEswm1/p6S4rYUjcrbfhPv1MagEBbEY0dtVpUhzpn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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