SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8b37a30fac1666ebc67bbbb9b32f38234233dc98c78f07c2d1b367caea7fac3' 
  AND token = 'gQgxQuoRlq+k4a4haYmk6L/TXSm0N0r9SKQgj1gs8iY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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