SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '477b1876988e52db342b635e4cbde0577c2306245e568609aa84893b95f007ee' 
  AND token = 'lSvMZNgOcCuD9ySVrQ3VDNvFV9c1bXR/hu4F8e+1+L4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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