SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8eecc9ff8ae6382c5f67aa719335e117a4bcb91e38a81b9590c6218ec341c78' 
  AND token = 'diOjU4ArJbRJWPEXXwlPJZALx+fdw0V/DW689vp2kb8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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