SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0fb2ffe006d3d63495b46a0f3ab32815e6840062a31afe750af87a194bd3cd9' 
  AND token = 'AtPep1o5SsHgAHj2ahTjAOdg4a1FjsIqqbB3VmrFsAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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