SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab78c515e1d0194308a920419a6be23eac3638201140f103f06dfe4f7f826caa' 
  AND token = 'TNjPIpOC4mbJ5HqHfOQFB9QvxC2uAIA0PI5YcrvE+Y0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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